import request from '@/utils/request'

export function showBirthdayWelfare() {
  return request({
    url: '/welfare/birthday/show',
    method: 'get'
  })
}

export function modifyBirthdayRuleFree(data) {
  return request({
    url: '/welfare/birthday/modify/free',
    method: 'post',
    data
  })
}

export function modifyBirthdayRuleShop(data) {
  return request({
    url: '/welfare/birthday/modify/shop',
    method: 'post',
    data
  })
}

export function removeBirthdayWelfare() {
  return request({
    url: '/welfare/birthday/remove',
    method: 'get'
  })
}

export function getOtherWelfareList() {
  return request({
    url: '/welfare/other/list',
    method: 'get'
  })
}

export function modifyOtherWelfare(data) {
  return request({
    url: '/welfare/other/modify',
    method: 'post',
    data
  })
}
